package com.dhcc.bpm.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: cbus-bpm-boot
 * @ClassName RestTemplateProperties
 * @description: TODO
 * @author: xiafayu
 * @create: 2022-02-11 14:41:39
 * @Version 1.0
 **/
@Component
@ConfigurationProperties(prefix = "bpm.rest")
@Data
public class RestTemplateProperties {
    /**
     * 连接超时
     */
    private int connectTimeout=20000;
    /**
     * 读取超时
     */
    private int readTimeout=60000;
}
